﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Duck:Eat,ISwim
    {
        public Duck(string food ,string name) :base(food,name)
        { }

        public void swim()
        {
            Console.WriteLine("我在游泳");
        }
    }
}
